package com.fc.hkx.shiro;

import org.apache.shiro.authc.UsernamePasswordToken;

/**
 * Created by Sunny on 2017-08-24.
 */
public class MyUsernamePasswordToken  extends UsernamePasswordToken
{
    public MyUsernamePasswordToken(final String username, final String password) {
        this(username, password, false, null);
    }

    public MyUsernamePasswordToken(final String username, final String password, final boolean rememberMe, final String host) {
        super(username, password != null ? password.toCharArray() : null, rememberMe, host);
    }
}
